package com.wanxi;

import java.util.Scanner;

public class MyScanner {
    /**
     * 根据提示，得到用户输入的字符串
     *
     * @param tips
     * @return
     */
    public String getString(String tips) {
        Scanner scanner = new Scanner(System.in);
        System.out.println(tips);
        return scanner.next();
    }
}
